<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PostNewMessage.aspx.cs" Inherits="MyCustomModules_PostNewMessage" %>
<%@ Reference Control="~/MyCustomModules/MessageWidget.ascx" %>

<portal:HeadingControl ID="heading" runat="server" Text="Post Message" Font-Size="Large"  />

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Post Message</title>
</head>

<body>
    <form id="form1" runat="server">
     <script language="javascript" type="text/javascript" >
        <!--
        function closeParent(){
            return window.close();
        }
        //-->
    </script> 
    
    <div>
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:Panel ID="pnlPostMessage" runat="server" BorderStyle="Solid" BorderWidth="1" Height="400" ScrollBars="Vertical"></asp:Panel>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
             <tr>
                <td style="font-family:Verdana;font-size:smaller;">Enter new message here:</td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtMessage" TextMode="MultiLine" Height="50" Text="" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
           <tr>
                <td>
                    <asp:Button ID="btnSaveAndClose" runat="server" Text="Save and Close" OnClick="AddNewStatusClick" Font-Names="Verdana" Font-Size="Smaller" />
                    <asp:Button ID="btnSaveOnly" runat="server" Text="Save" OnClick="AddNewStatusClick" Font-Names="Verdana" Font-Size="Smaller"/>
                    <asp:Button ID="btnClose" runat="server" Text="Close" OnClientClick="window.close();" Font-Names="Verdana" Font-Size="Smaller"/>
                </td>
            </tr>
        </table>

        
        <asp:Label ID="lblMessage" runat="server" Text="Error"></asp:Label>
    </div>
    </form>
</body>
</html>
